package com.jiyun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.entity.day05.Compe;
import com.jiyun.entity.day05.CompeDto;
import com.jiyun.entity.day05.CompeVo;
import com.jiyun.mapper.CompeMapper;
import com.jiyun.service.CompeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/*
 * 作者：LiuHaoyang
 * 时间：2023/8/28 17:09
 * 描述：
 **/
@Service
public class CompeServiceImpl extends ServiceImpl<CompeMapper, Compe> implements CompeService {

    @Autowired
    private CompeMapper compeMapper;

    @Override
    public List<CompeVo> findCompe(CompeDto compeDto) {
        List<CompeVo> list = compeMapper.findCompe(compeDto);

        return list;
    }
}
